import React from 'react';

var arr = [
    <h1 key="0">Hello</h1>,
    <h2 key="1">World</h2>
]

class App extends React.Component{
    render(){
        return(
            <div>{arr}</div>
        )
    }
}

export default App;